//
//  UIBarButtonItem+Addition.h
//  QNReuseTool
//
//  Created by rsh on 2019/10/15.
//  Copyright © 2019年 rsh. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface BackView:UIView

@property(nonatomic,strong)UIButton *btn;

@end


@interface UIBarButtonItem (addition)
+ (UIBarButtonItem *)itemWithTitle:(NSString *)title target:(id)target action:(SEL)action;

+ (UIBarButtonItem *)itemWithIcon:(UIImage *)icon highIcon:(UIImage *)highIcon target:(id)target action:(SEL)action;
+ (UIBarButtonItem *)itemWithIcon:(UIImage *)icon highIcon:(UIImage *)highIcon alignment:(UIControlContentHorizontalAlignment)align target:(id)target action:(SEL)action;
+ (UIBarButtonItem *)itemWithTitle:(NSString *)title color:(UIColor *)color alignment:(UIControlContentHorizontalAlignment)align target:(id)target action:(SEL)action;

//UITab
+ (UIBarButtonItem *)itemWithTitle:(NSString *)title font:(CGFloat)fontsize normalColor:(UIColor *)ncolor highLightColor:(UIColor *)hcolor disableColor:(UIColor *)dcolor target:(id)target action:(SEL)action;

@end
